home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 49
/
Volume 49 - JOGO DISK .iso
/
Games
/
bloop.swf
/
scripts
/
DefineSprite_192_hud
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-09-27
|
2KB
|
73 lines
gameover._visible = false;
nexttimer = 2000;
_root.setFrame(this);
onEnterFrame = function()
{
_root.checkFrame(this);
if(nexttimer > 0)
{
if(gameover._visible == false)
{
nexttimer -= 1;
}
}
else if(gameover._visible == false)
{
nexttimer = 3000;
levelmode.play();
}
if(_root.lives <= 0)
{
_root.gameover = true;
}
if(_root.gameover == true)
{
gameover._visible = true;
}
lives = "Lives: " + _root.lives;
score = "Score: " + _root.score;
level = "Level: " + _root.level;
this.swapDepths(_root.depth + 50000000);
if(_root.bigbcount > 0)
{
timer1_check = _root.bigbcount / 48;
timer1_di = "" + _root.bigbcount / 48 + "";
timer1_d = timer1_di.split("");
if(timer1_check >= 10)
{
timer1 = "" + timer1_d[0] + "" + timer1_d[1] + "";
}
else
{
timer1 = "" + timer1_d[0] + "";
}
_root.bubblesize = 60;
_root.bigbcount -= 1;
}
else
{
timer1 = "";
_root.bubblesize = 30;
_root.bigb = false;
}
if(_root.rapidcount > 0)
{
timer2_check = _root.rapidcount / 48;
timer2_di = "" + _root.rapidcount / 48 + "";
timer2_d = timer2_di.split("");
if(timer2_check >= 10)
{
timer2 = "" + timer2_d[0] + "" + timer2_d[1] + "";
}
else
{
timer2 = "" + timer2_d[0] + "";
}
_root.rapidcount -= 1;
}
else
{
timer2 = "";
}
};